package com.Java.train.common.exception;

// 处理业务异常
public class BusniessException extends RuntimeException{
    private BusniessExceptionEnum e;

    public BusniessException(BusniessExceptionEnum e) {
        this.e = e;
    }

    public BusniessExceptionEnum getE() {
        return e;
    }

    public void setE(BusniessExceptionEnum e) {
        this.e = e;
    }

    @Override
    public Throwable fillInStackTrace() {
        return this;
    }
}
